"""
    异常的类型
"""

try:
    result = 3/0
    print(result)
except NameError as e:
    print(e)
except (RuntimeError, TypeError) as e:
    print(e)
except:
    print("unexpected error")

print("end")
